using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Core.Models
{
    public partial class Member
    {
        public Member()
        {
            this.ID = Guid.NewGuid();
        }

        [Key]        
        public System.Guid ID { get; set; }

        
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int MemberCode { get; set; }
        
        public Nullable<int> RoleCode { get; set; }
        
        [MaxLength(500)]
        public string Email { get; set; }
        
        [MaxLength(50)]
        public string Password { get; set; }
        
        [MaxLength(50)]
        public string Facebook { get; set; }
        
        public Nullable<int> Mobile { get; set; }
        
        [MaxLength(500)]
        public string Address { get; set; }
        
        [MaxLength(500)]
        public string Token { get; set; }
        
        [MaxLength(50)]
        public string DisplayName { get; set; }
        
        public Nullable<System.DateTime> CreatingDate { get; set; }
        
        public Nullable<System.DateTime> LastModified { get; set; }
        
        public short Active { get; set; }
        
        public bool Lock { get; set; }

        //
        //public virtual ICollection<Comment> Comments { get; set; }

        //
        //public virtual ICollection<Request> Requests { get; set; }
    }
}
